<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$pageTitle}</title>
<meta name="keywords" content="{$keywords}" />
<meta name="description" content="{$description}" />
<link href="{$siteUrl}css/band.css" rel="stylesheet" type="text/css" />
<script src="{$siteUrl}js/analiza.js" type="text/javascript"></script>
</head>
<body>
<h2>{$lang.band.adminPageTitle} <a href="{$siteUrl}"> | {$lang.band.goAsAdmin} |</a></h2>

{if isset($lastActionInfo)}
	<p>{$lastActionInfo}</p>
{/if}
	
{if $action == menu}
	<div class="mainContainer" style = "float: left;">
		
		<div class="titleInDiv"><p>{$lang.band.editMainDsc}</p></div>
		<p>
		{foreach from=$newsy item=news}
			<a href="{$siteUrl}band/editNews/{$news.id}">{$news.label} (id: {$news.id})</a><br/>
		{/foreach}
		</p>
	</div>
	<div class="mainContainer" style = "float: left; margin-left: 50px;">	
		<div class="titleInDiv"><p>{$lang.band.editSongsDsc}</p></div>
		<p>
		{foreach from=$songs item=song}
			<a href="{$siteUrl}band/editSong/{$song.id}">{$song.label} (id: {$song.id})</a><br/>
		{/foreach}
		</p>
		<p><a href={$siteUrl}band/newSong>{$lang.band.addSong}</a></p>
	</div>
{/if}
<div class="mainContainer" style = "float: right; margin-left: 50px;">
	<div class="titleInDiv"><p>{$lang.band.actions}</p></div>
	<a href="{$siteUrl}band/logout">{$lang.common.logout}</a><br/>
	<a href="{$siteUrl}">home</a><br/>
</div>	
</body>
</html>